package com.example.aram;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class intro extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.intro);
		
		Button back = (Button) findViewById(R.id.back);
		Button home = (Button) findViewById(R.id.home);
		
		back.setOnClickListener(new View.OnClickListener() {
		
		
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(intro.this, cog.class);
				startActivity(i);
				finish();
			}
		});
		home.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent j = new Intent(intro.this, MainActivity.class);
				startActivity(j);
				finish();
			}
		});
	}


}
